﻿using MusicExplorer.Common;
using MusicExplorer.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MusicExplorer.ViewModel.Wrappers
{
    public sealed class RepositoryWrapper : TileWrapper
    {
        private readonly string m_name;
        private readonly string m_image;

        public RepositoryWrapper(HomePageViewModel parent, Model.Repository repository)
            : base(parent, repository)
        {
            m_name = repository.Name;
            m_image = repository.Image;
        }

        public override string Name { get { return m_name; } }
        public override string Image { get { return m_image; } }
    }
}
